package duyd.jpa.training.service;

import java.util.Date;
import java.util.List;

import duyd.jpa.training.domain.MyEntity;

public interface MyEntityService {

	public List<MyEntity> findAll();

	public List<MyEntity> findBeforeCreateDate(Date createDate);

	public List<MyEntity> findAllWithDetails();

	public void batchSave(List<MyEntity> myEntityList, int batchSize);

	public void batchUpdate(List<MyEntity> myEntityList, int batchSize);

	public void batchDelete(List<MyEntity> myEntityList, int batchSize);

}
